class User:
    def __init__(self, username, password):
        self.username = username
        self.password = password

    def show(self):
        print("{} - {}".format(self.username, self.password))


# 只有在本类中执行 才能运行该段代码
if __name__ == '__main__':
    print("-------------------------")
